import React,{Suspense} from 'react';
import ReactDOM from 'react-dom';
 import './scss/index.scss'
import App from './App';
import store from './store/index';
import StoreContext from './context/StoreContext';
ReactDOM.render(
  <React.StrictMode>
    <Suspense fallback={<div>Loading...</div>}>
    <StoreContext.Provider value={store}>
      <App />
      </StoreContext.Provider>
    </Suspense>
  </React.StrictMode>,
  document.getElementById('root')
);
